// JScript source code
//contains calls to silverlight.js, example below loads Page.xaml
function createSilverlight()
{
	Silverlight.createObjectEx({
		source: "ClientBin/MOM.Player.xap",
		parentElement: document.getElementById("PlayerControlHost"),
		id: "PlayerControl",
		properties: {
			width: "640px",
			height: "60px",
			version: "2.0",
			isWindowless: "true",
			background: "transparent",
			enableHtmlAccess: "true"
		},
		events:{
			onLoad:Player_Load,
			onError:Player_Error
		}
	});
}
